package com.yyplatform.admin.platform.role.service;

import java.util.List;

import com.yyplatform.admin.platform.role.model.dto.SysMenuDTO;
import com.yyplatform.admin.platform.role.model.dto.SysMenuFormDTO;

/**
 * Created on 2024-09-14
 */
public interface SysMenuService {
    List<SysMenuDTO> listAllForTree();


    SysMenuDTO get(Long id);

    void save(SysMenuFormDTO sysMenuFormDTO);

    void update(SysMenuFormDTO sysDeptFormDTO);

    void delete(Long id);

    List<SysMenuDTO> listForOptions(Boolean onlyRoot);

    void saveBatchByControllerName(Long id, String cname);


    void saveBatchByControllerName(Long id, List<String> cname);

}
